<script type="text/javascript">
  $(function() {
      $(".am-datepicker-month").on("click", function() {
        $(".am-datepicker").hide();
      });
  });
</script>
<div class="am-u-sm-12">


    <form class="am-form" id="list-form" action="${base}/dzgDaily/listMonthly" method="post">
        <input type="hidden" id="keywords" name="keywords" value='${keywords!""}'/>
        <table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
            <tbody>
            <tr>
                <th class="am-text-middle">选择月份</th>
                <td>
                    <div class="am-u-sm-10">
                        <div class="am-form am-form-inline">
                            <div class="am-form-group am-form-icon">
                                <i class="am-icon-calendar"></i>
                                <input type="text" class="am-form-field am-input-sm" id="the_date"
                                       value="${the_date!}" placeholder="选择月份"  data-am-datepicker="{format: 'yyyy-mm', viewMode: 'years', minViewMode: 'months'}"">
                            </div>
                        </div>
                    </div>
                </td>
            </tr>


            <tr>
                <td colspan="4">
                    <div align='right'>
                        <button type="button" class="am-btn am-btn-default am-btn-sm am-text-secondary" id="submit-btn"
                                onClick="submit_btn('search');">搜索
                        </button>

                        <%if(so.hasPermission("BANK_CARD_EXPORT")) {%>
                            <button type="button" class="am-btn am-btn-default am-btn-sm am-text-secondary" id="submit-btn-export"
                                    onClick="submit_btn('export');">导出
                            </button>
                        <%}%>

                    </div>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>

